package com.example.springboot.entity;

import lombok.Data;

import java.math.BigDecimal;
import java.sql.Timestamp;

@Data
public class Merchant {
    private Integer merchantId;
    private String name;
    private String avatarUrl;
    private String contactNumber;
    private String passwordHash;
    private Timestamp createdAt;
    private Integer adminId;
    private String address;
    private Boolean isActive;
    private String poster;      // 海报URL
    private String services;    // 服务类型（例如：洗衣、租赁、保养等）
    private Double Latitude;   // 取件地址纬度
    private Double Longitude;// 商家经度

    public Double getLatitude() {
        return Latitude;
    }

    public void setLatitude(Double addressLatitude) {
        this.Latitude = Latitude;
    }

    public Double getLongitude() {
        return Longitude;
    }

    public void setAddressLongitude(Double addressLongitude) {
        this.Longitude = Longitude;
    }
}